<?php

class CacheSlotsFeatures extends CacheSlotsAbstract
{

    public function __construct(AbstractModel $model, $feature, $params = array(), $lifetime = 0, $dependency = null)
    {
	$cacheId = CacheManager::getCacheKey(array(
		    strtolower(get_class($model)), $model->getId(), strtolower(trim($feature)), serialize($params)
		));

	parent::__construct($cacheId, null, $lifetime, $dependency);
    }

}

?>
